
  <div class="widget">
    <h3 class="widget-title">分类</h3>
    <div class="widget-body">
      <ul class="category-list">
        {{ range $name, $items := .Site.Taxonomies.categories }}
        <li class="category-list-item">
            <a class="category-list-link" href="/categories/{{ $name | urlize }}">{{ $name }}</a>
        <span class="category-list-count">{{ len $items }}</span>
        </li>
        {{ end }}
      </ul>
    </div>
  </div>

